package com.dingreading.cloud.soms.service;

import com.dingreading.cloud.common.util.PageUtil;
import com.dingreading.cloud.soms.dto.FollowTypeDto;
import com.dingreading.cloud.soms.entity.FollowType;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2023-11-22
 */
public interface FollowTypeService extends IService<FollowType> {

    long getHaveName(String storeUid, String uid, String name);


    FollowType getBean(String storeUid, String uid);

    int dropBean(String storeUid, String uid);

    List<FollowTypeDto> getByStoreUid(String storeUid);

    List<FollowTypeDto> getStoreFollowType(String storeUid);

    Page<FollowTypeDto> pageList(PageUtil pageUtil, String storeUid, String keyword, Integer enabled);

}
